﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Common;
using LLFM.CAT.Model;
using LLFM.CAT.Service;

public partial class Ajax_City : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        int provinceIndex = RequestHelper.GetInt("pid",0);
        if(provinceIndex != 0)
        {
            Response.Write(JsonHelper.Serialize<List<M_City>>(CityService.GetCityListByProvinceId(provinceIndex)));
        }
        Response.End();
    }
}